Documentation Index
Fetch the complete documentation index at: https://superdoc-dependabot-npm_and_yarn-npm_and_yarn-e04d5d616f.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Overview
SuperDoc API implements rate limiting to ensure fair usage and maintain service quality for all users. Rate limits are applied per API key and are based on your subscription plan.Rate Limit Tiers
Free Tier
100 requests/hour - 1,000 requests/day - 5MB max file size - Best for
testing and small projects
Pro Tier
1,000 requests/hour - 10,000 requests/day - 25MB max file size -
Priority support
Enterprise
Custom limits - Unlimited requests* - 100MB+ file sizes - Dedicated
infrastructure
Rate Limit Headers
Every API response includes rate limit information in the headers:Total number of requests allowed in the current window
Number of requests remaining in the current window
Unix timestamp when the current window resets
Seconds to wait before making another request (only present when rate limited)
Rate Limit Windows
Rate limits are calculated using sliding windows:| Limit Type | Window Size | Reset Behavior |
|---|---|---|
| Hourly | 60 minutes | Rolling window |
| Daily | 24 hours | Resets at midnight UTC |
Sliding windows provide fairer usage distribution compared to fixed windows.
Handling Rate Limits
429 Rate Limited Response
When you exceed your rate limit, the API returns:Best Practices
Implement exponential backoff
Implement exponential backoff
When you receive a 429 response:
Monitor rate limit headers
Monitor rate limit headers
Check remaining requests before making calls:
Batch processing
Batch processing
For large volumes, process files in batches:
Use webhooks for async processing
Use webhooks for async processing
For high-volume scenarios, consider async processing:
- Submit conversion jobs to a queue
- Receive results via webhooks
- Avoid blocking API calls
Rate Limit Strategies
Queue-Based Processing
Distributed Rate Limiting
For applications with multiple servers:Upgrading Your Limits
When to Upgrade
Consider upgrading when you:- Consistently hit rate limits
- Need to process large batches
- Require higher file size limits
- Want priority support
Plan Comparison
| Feature | Free | Pro | Enterprise |
|---|---|---|---|
| Requests/hour | 100 | 1,000 | Custom |
| File size limit | 5MB | 25MB | 100MB+ |
| Support | Community | Dedicated | |
| SLA | None | 99.9% | 99.99% |
Upgrade Your Plan
Increase your rate limits and unlock additional features
Monitoring and Alerts
Dashboard Metrics
Monitor your usage in the dashboard:- Real-time request counts
- Rate limit utilization
- Error rates
- Response times
API Usage Alerts
Set up alerts for:- 80% rate limit utilization
- Repeated 429 errors
- Unusual traffic spikes
- API key compromise indicators
Troubleshooting
Unexpected Rate Limits
Problem: Getting 429 errors with low usage Solutions:- Check for multiple API keys sharing limits
- Verify your plan tier in the dashboard
- Contact support if limits seem incorrect
Inconsistent Rate Limiting
Problem: Rate limits vary between requests Causes:- Multiple servers with different clocks
- Sliding window calculations
- Burst vs sustained usage
- Implement client-side rate limiting
- Add jitter to request timing
- Use queue-based processing
Contact Support
Need higher limits or custom rate limiting?Enterprise Sales
Discuss custom rate limits and enterprise features
Technical Support
Get help with rate limiting issues

